<?php
  /**
   * @author EVANDRO DE OLIVEIRA.
   * @category CONTROLLER
   * @package CONTROLLERS.
   * @since 17/03/2012.
   * @last_update 24/03/2012.
   * @copyright 2012.
   * @version 1.0.
   *
   */
  class IndexController extends Zend_Controller_Action{
    public function init(){
      $objAuthNamespace = new Zend_Session_Namespace('Zend_Auth');
      
      if(!$objAuthNamespace->session_initialized){
        $this->_redirect('/account/login');
      } 
    }
    
    public function indexAction(){
      $this->_forward('start');
    }
    
    public function startAction(){
      $objAuthNamespace = new Zend_Session_Namespace('Zend_Auth');
      
      if(!$objAuthNamespace->session_initialized){
        $this->_redirect('/account/login');
      } 
    }
  }

